package com.hjs.mapper;

import com.hjs.bean.DailyInspectionDamageNotice;
import com.hjs.bean.DailyInspecteRecordingCom;
import com.hjs.bean.RenovateDetail;
import com.hjs.bean.DailyInspectRecording;

import java.util.List;

/**
 * @author violetfreesia
 * @date 2020/06/16
 */
public interface DailyInspectRecordingMapper {
    boolean addOneDailyInspectRecording(DailyInspectRecording obj);

    boolean addOneDailyInspecteRecordingCom(DailyInspecteRecordingCom obj);

    boolean addOneDailyInspectionDamageNotice(DailyInspectionDamageNotice obj);

    boolean addOneRenovateDetail(RenovateDetail obj);

    boolean deleteOneDailyInspectRecordingById(int id);

    boolean deleteOneDailyInspecteRecordingComById(int id);

    boolean deleteOneDailyInspectionDamageNoticeById(int id);

    boolean deleteOneRenovateDetailById(int id);

    boolean updateOneDailyInspectRecording(DailyInspectRecording obj);

    boolean updateOneDailyInspecteRecordingCom(DailyInspecteRecordingCom obj);

    boolean updateOneDailyInspectionDamageNotice(DailyInspectionDamageNotice obj);

    boolean updateDailyInspectionDamageNoticeAuditStatusById(int id, int status,String auditOpinion);

    boolean updateDailyInspectionDamageNoticeRenovateStatusById(int id, int status,int renovateDetailID);

    boolean updateDailyInspectionDamageNoticeRenovateDetailIDById(int id, int renovateDetailID);

    boolean updateOneRenovateDetail(RenovateDetail obj);

    List<DailyInspectRecording> getDailyInspectRecordingByRoadwayId(int roadwayId);

}
